package com.best.oasis.settlement.web.action.site;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.flex.remoting.RemotingDestination;
import org.springframework.stereotype.Service;

import com.best.oasis.settlement.common.entity.site.Site;
import com.best.oasis.settlement.common.so.site.SiteSO;
import com.best.oasis.settlement.common.vo.site.SiteVO;
import com.best.oasis.settlement.service.site.SiteService;
import com.best.oasis.settlement.util.page.PageList;
import com.best.oasis.settlement.web.action.base.BaseActionImpl;

@RemotingDestination
@Service
public class SiteActionImpl extends BaseActionImpl<SiteVO, Site> implements SiteAction {

	@Autowired
	private SiteService siteService;
	
	public void afterConstruct() {
		super.setBaseService(siteService);
	}
	public PageList<SiteVO> getPageList(SiteSO so){
		return siteService.getPageList(so);
	}
}
